package com.ruoyi.visit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行政处罚对象 ad_penalty
 * 
 * @author ruoyi
 * @date 2021-08-23
 */
public class AdPenalty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 处罚ID */
    private Long apId;

    /** 处罚单位 */
    @Excel(name = "处罚单位")
    private String apUnit;

    /** 处罚事由 */
    @Excel(name = "处罚事由")
    private String apFor;

    /** 处罚依据 */
    @Excel(name = "处罚依据")
    private String apBasis;

    /** 处罚时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处罚时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date apTime;

    /** 处罚进程 */
    @Excel(name = "处罚进程")
    private String apProcess;

    /** 处罚金额 */
    @Excel(name = "处罚金额")
    private String apAmount;

    /** 责令改正决定书 */
    private String apOrderDecision;

    /** 责令改正决定书文号 */
    private String apOrderDecisionNum;

    /** 行政处罚事先（听证）告知书 */
    private String apBfNotice;

    /** 行政处罚事先（听证）告知书文号 */
    private String apBfNoticeNum;

    /** 行政处罚告知书 */
    private String apNotice;

    /** 行政处罚告知书文号 */
    private String apNoticeNum;

    /** 行政处罚决定书 */
    private String apDecision;

    /** 行政处罚决定书文号 */
    private String apDecisionNum;

    /** 行政处罚缴费单 */
    private String apPaymentNote;

    /** 处决单位 */
    private String apExecutionUnit;

    /** 统一社会信用代码 */
    private String epCreditCode;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setApId(Long apId) 
    {
        this.apId = apId;
    }

    public Long getApId() 
    {
        return apId;
    }
    public void setApUnit(String apUnit) 
    {
        this.apUnit = apUnit;
    }

    public String getApUnit() 
    {
        return apUnit;
    }
    public void setApFor(String apFor) 
    {
        this.apFor = apFor;
    }

    public String getApFor() 
    {
        return apFor;
    }
    public void setApBasis(String apBasis) 
    {
        this.apBasis = apBasis;
    }

    public String getApBasis() 
    {
        return apBasis;
    }
    public void setApTime(Date apTime) 
    {
        this.apTime = apTime;
    }

    public Date getApTime() 
    {
        return apTime;
    }
    public void setApProcess(String apProcess) 
    {
        this.apProcess = apProcess;
    }

    public String getApProcess() 
    {
        return apProcess;
    }
    public void setApAmount(String apAmount) 
    {
        this.apAmount = apAmount;
    }

    public String getApAmount() 
    {
        return apAmount;
    }
    public void setApOrderDecision(String apOrderDecision) 
    {
        this.apOrderDecision = apOrderDecision;
    }

    public String getApOrderDecision() 
    {
        return apOrderDecision;
    }
    public void setApOrderDecisionNum(String apOrderDecisionNum) 
    {
        this.apOrderDecisionNum = apOrderDecisionNum;
    }

    public String getApOrderDecisionNum() 
    {
        return apOrderDecisionNum;
    }
    public void setApBfNotice(String apBfNotice) 
    {
        this.apBfNotice = apBfNotice;
    }

    public String getApBfNotice() 
    {
        return apBfNotice;
    }
    public void setApBfNoticeNum(String apBfNoticeNum) 
    {
        this.apBfNoticeNum = apBfNoticeNum;
    }

    public String getApBfNoticeNum() 
    {
        return apBfNoticeNum;
    }
    public void setApNotice(String apNotice) 
    {
        this.apNotice = apNotice;
    }

    public String getApNotice() 
    {
        return apNotice;
    }
    public void setApNoticeNum(String apNoticeNum) 
    {
        this.apNoticeNum = apNoticeNum;
    }

    public String getApNoticeNum() 
    {
        return apNoticeNum;
    }
    public void setApDecision(String apDecision) 
    {
        this.apDecision = apDecision;
    }

    public String getApDecision() 
    {
        return apDecision;
    }
    public void setApDecisionNum(String apDecisionNum) 
    {
        this.apDecisionNum = apDecisionNum;
    }

    public String getApDecisionNum() 
    {
        return apDecisionNum;
    }
    public void setApPaymentNote(String apPaymentNote) 
    {
        this.apPaymentNote = apPaymentNote;
    }

    public String getApPaymentNote() 
    {
        return apPaymentNote;
    }
    public void setApExecutionUnit(String apExecutionUnit) 
    {
        this.apExecutionUnit = apExecutionUnit;
    }

    public String getApExecutionUnit() 
    {
        return apExecutionUnit;
    }
    public void setEpCreditCode(String epCreditCode) 
    {
        this.epCreditCode = epCreditCode;
    }

    public String getEpCreditCode() 
    {
        return epCreditCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apId", getApId())
            .append("apUnit", getApUnit())
            .append("apFor", getApFor())
            .append("apBasis", getApBasis())
            .append("apTime", getApTime())
            .append("apProcess", getApProcess())
            .append("apAmount", getApAmount())
            .append("apOrderDecision", getApOrderDecision())
            .append("apOrderDecisionNum", getApOrderDecisionNum())
            .append("apBfNotice", getApBfNotice())
            .append("apBfNoticeNum", getApBfNoticeNum())
            .append("apNotice", getApNotice())
            .append("apNoticeNum", getApNoticeNum())
            .append("apDecision", getApDecision())
            .append("apDecisionNum", getApDecisionNum())
            .append("apPaymentNote", getApPaymentNote())
            .append("apExecutionUnit", getApExecutionUnit())
            .append("epCreditCode", getEpCreditCode())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
